﻿namespace SortByAbstractClasses
{
    /// <summary>
    /// Class for decrease criteria
    /// </summary>
    public class DecreaseSort : SortTemplate
    {
        /// <summary>
        /// Increase criteria
        /// </summary>
        /// <param name="a">Value 1</param>
        /// <param name="b">Value 2</param>
        /// <returns>True - is a less than b, otherwise - False</returns>
        protected override bool Criteria(int a, int b)
        {
            return a < b;
        }
    }
}
